rule:
meta:
name: get remote cert context via SChannel
namespace: data-manipulation/encryption
authors:
- matthew.williams@mandiant.com
scopes:
static: basic block
dynamic: call
att&ck:
- Defense Evasion::Obfuscated Files or Information [T1027]
references:
- https://docs.microsoft.com/en-us/windows/win32/secauthn/querycontextattributes--schannel
features:
- and:
- api: secur32.QueryContextAttributes
- number: 0x53 = SECPKG_ATTR_REMOTE_CERT_CONTEXT
last edited: 2023-11-24 10:35:00